package com.cskaoyan.javase._2variable._3notice;

/**
 * 小练习
 *
 * @since 16:36
 * @author wuguidong@cskaoyan.onaliyun.com
 */
public class Demo4 {
    public static void main(String[] args) {
        System.out.println('a');  // a
        System.out.println('a' + 1); // 98
        System.out.println("hello" + 'a' + 1); // helloa1
        System.out.println('a' + 1 + "hello"); // 98hello
        System.out.println("5 + 5 = " + 5 + 5); // 5 + 5 = 55
        System.out.println(5 + 5 + " = 5 + 5"); // 10 = 5 + 5
        System.out.println(5 + 5.0); // 10.0
        System.out.println(5 + "5" + 5.0); // 555.0
    }
}
